﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<IEnumerable<GeckoPhotos.Models.Message>>" %>
<%@ Import Namespace="GeckoPhotos.Util.Extensions" %>

<div>
    <%foreach (var item in ViewData.Model)
    {%>
        <div class="boxed-clean-gray">
            <p class="datetime"><%: item.DateTime.ToPrettyString()%></p>
            <%: item.GetTextParsed() %>
        </div>
    <% } %>
</div>
